let search_div = new Vue({
    el: '#search_div',
    data: {
        salarys:[
            {   id :3,
                staffId	: 3,
                salary :	10000,
                cardNo :	"123456987654",
                level :	2,
                state :	"在缴",
                gmtCreate :	"2020-12-08T18:12:42",
                gmtModified	: "2020-12-08T18:12:42"
            }
        ]
    },
    methods: {
        loadMySalary: function () {
            //alert("成功！");
            $.ajax({
                url:'/portal/salary/findAll',
                success:function (r) {
                    search_div.salarys = r.data;
                }


            });
        }
    },
    created: function () {
        this.loadMySalary();
    }
})